guess = 0
answer = 5
times = 0
while answer != guess:
    guess = int(input("Guess: "))
    times += 1
    if times > 5:
        print("you guess too many times")
        break
else:
    print("You guessed it right")  # 'break' is not run
